package com.server.entity.view;



import com.baomidou.mybatisplus.annotation.TableName;
import com.server.entity.DanweiEntity;
import org.springframework.beans.BeanUtils;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
 

/**
 * 单位
 * 后端返回视图实体辅助类   
 * （通常后端关联的表或者自定义的字段需要返回使用）
 * @author 
 * @email 
 * @date 2021-03-09 11:06:58
 */
@TableName("danwei")
public class DanweiView  extends DanweiEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	public DanweiView(){
	}
 
 	public DanweiView(DanweiEntity danweiEntity){
		BeanUtils.copyProperties(this, danweiEntity);

	}
}
